package com.fingard.dsp.bank.reqrespobj.batchbill.detail;

import com.fingard.xml.XElement;

/**
 * Created by F on 2019/10/20.
 */
public class ReqBatchModSubmitDetail {
    /**
     * 批次编号
     */
    public String batchNo ="";
    /**
     * 出票人账号
     */
    public String drawAct ="";
    /**
     * 行内行外标志
     */
    public String accpSameBnk ="";
    /**
     * 承兑人账号
     */
    public String accpAct ="";
    /**
     * 承兑人
     */
    public String accpName ="";
    /**
     * 承兑机构
     */
    public String accpBranch ="";
    /**
     * 承兑人开户行名称
     */
    public String accpBnkName ="";
    /**
     * 承兑人开户行行号
     */
    public String accpBnkCode ="";
    /**
     * 票据种类
     */
    public String billType ="";
    /**
     * 是否可转让
     */
    public String transFlag ="";
    /**
     * 承兑协议编号
     */
    public String accpProtocolNo ="";

    public ReqBatchModSubmitDetail(XElement p_element) throws Exception {
        batchNo = p_element.getSingleText("BatchNo");
        drawAct = p_element.getSingleText("DrawAct");
        accpSameBnk = p_element.getSingleText("AccpSameBnk");
        accpAct = p_element.getSingleText("AccpAct");
        accpName = p_element.getSingleText("AccpName");
        accpBranch = p_element.getSingleText("AccpBranch");
        accpBnkName = p_element.getSingleText("AccpBnkName");
        accpBnkCode = p_element.getSingleText("AccpBnkCode");
        billType = p_element.getSingleText("BillType");
        transFlag = p_element.getSingleText("TransFlag");
        accpProtocolNo = p_element.getSingleText("AccpProtocolNo");
    }
}
